package com.zytlifeservice.repository.find;

import com.zytlifeservice.domain.find.Integral;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * 积分持久接口
 * Created by Administrator on 2017/5/31.
 */
@Repository
public interface IntegralRepository extends JpaRepository<Integral, Long> {
    Page<Integral> findAllByUserId(long userId, Pageable pageable);
}
